package org.xqyy.eval.dao;

import org.springframework.stereotype.Repository;
import org.xqyy.eval.model.TDept;
import org.xqyy.eval.model.TDeptmapperPaper;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

@Repository
public interface TDeptmapperPaperMapper extends Mapper<TDeptmapperPaper> {

    public List<TDept> selectdeptmapperpaper(TDeptmapperPaper tDeptmapperPaper );

    /**
     * 根据科室id查询该科室应当评价的科室及其关联的
     * 调查问卷和问题
     * @param tDept 要查询的科室信息
     * @return
     */
    public List<TDept> selectEvalDeptPaperByDeptId(TDept tDept);
}